package org.cevinedit.core.eugenia;

import org.cevinedit.core.tools.EcoreTools;
import org.eclipse.emf.ecore.resource.Resource;

public class CevEugAnnotator 
{
	protected Resource _ecore = null;
	protected String _path2Ecore = null;
	
	public CevEugAnnotator(String path2Ecore)
	{
		_path2Ecore = path2Ecore;
		_ecore = EcoreTools.loadEcore(_path2Ecore);
	}
	
	public static CevEugAnnotator i(String path2Ecore)
	{
		return new CevEugAnnotator(path2Ecore);
	}
	
	public void saveEcore()
	{
		EcoreTools.saveResource(_ecore);
	}
}
